import request from '@/utils/request'

// 查询设计师标签关联列表
export function listDesignerTag(query) {
  return request({
    url: '/biz/designerTag/list',
    method: 'get',
    params: query
  })
}

// 查询设计师标签关联详细
export function getDesignerTag(id) {
  return request({
    url: '/biz/designerTag/' + id,
    method: 'get'
  })
}

// 新增设计师标签关联
export function addDesignerTag(data) {
  return request({
    url: '/biz/designerTag',
    method: 'post',
    data: data
  })
}

// 修改设计师标签关联
export function updateDesignerTag(data) {
  return request({
    url: '/biz/designerTag',
    method: 'put',
    data: data
  })
}

// 删除设计师标签关联
export function delDesignerTag(id) {
  return request({
    url: '/biz/designerTag/' + id,
    method: 'delete'
  })
}
